home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 19 / CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso / CUCD / Programming / LEDA / man / prog / dictionary.tex < prev    next >
LaTeX Document  |  1994-08-05  |  1.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 6d 61 67 6e 69 66 69 | 63 61 74 69 6f 6e 20 3d |\magnifi|cation =|
|00000010| 20 5c 6d 61 67 73 74 65 | 70 33 0a 0a 5c 66 6f 6e | \magste|p3..\fon|
|00000020| 74 5c 74 69 74 6c 65 66 | 6f 6e 74 3d 63 6d 62 78 |t\titlef|ont=cmbx|
|00000030| 31 30 20 73 63 61 6c 65 | 64 20 5c 6d 61 67 73 74 |10 scale|d \magst|
|00000040| 65 70 33 20 0a 5c 66 6f | 6e 74 5c 73 65 63 74 69 |ep3 .\fo|nt\secti|
|00000050| 6f 6e 66 6f 6e 74 3d 63 | 6d 72 31 30 20 73 63 61 |onfont=c|mr10 sca|
|00000060| 6c 65 64 20 5c 6d 61 67 | 73 74 65 70 32 0a 5c 66 |led \mag|step2.\f|
|00000070| 6f 6e 74 5c 6d 61 67 6f | 6e 65 3d 63 6d 72 31 30 |ont\mago|ne=cmr10|
|00000080| 20 73 63 61 6c 65 64 20 | 5c 6d 61 67 73 74 65 70 | scaled |\magstep|
|00000090| 31 0a 5c 66 6f 6e 74 5c | 6d 61 67 6f 6e 65 62 66 |1.\font\|magonebf|
|000000a0| 3d 63 6d 62 78 31 30 20 | 73 63 61 6c 65 64 20 5c |=cmbx10 |scaled \|
|000000b0| 6d 61 67 73 74 65 70 31 | 20 0a 5c 66 6f 6e 74 5c |magstep1| .\font\|
|000000c0| 6d 61 67 74 77 6f 3d 63 | 6d 72 31 30 20 73 63 61 |magtwo=c|mr10 sca|
|000000d0| 6c 65 64 20 5c 6d 61 67 | 73 74 65 70 32 0a 5c 66 |led \mag|step2.\f|
|000000e0| 6f 6e 74 5c 6d 61 67 74 | 77 6f 62 66 3d 63 6d 62 |ont\magt|wobf=cmb|
|000000f0| 78 31 30 20 73 63 61 6c | 65 64 20 5c 6d 61 67 73 |x10 scal|ed \mags|
|00000100| 74 65 70 32 20 0a 5c 66 | 6f 6e 74 5c 6d 61 67 74 |tep2 .\f|ont\magt|
|00000110| 68 72 65 65 3d 63 6d 72 | 31 30 20 73 63 61 6c 65 |hree=cmr|10 scale|
|00000120| 64 20 5c 6d 61 67 73 74 | 65 70 33 0a 5c 66 6f 6e |d \magst|ep3.\fon|
|00000130| 74 5c 6d 61 67 74 68 72 | 65 65 62 66 3d 63 6d 62 |t\magthr|eebf=cmb|
|00000140| 78 31 30 20 73 63 61 6c | 65 64 20 5c 6d 61 67 73 |x10 scal|ed \mags|
|00000150| 74 65 70 33 20 0a 5c 66 | 6f 6e 74 5c 6d 61 67 66 |tep3 .\f|ont\magf|
|00000160| 6f 75 72 3d 63 6d 72 31 | 30 20 73 63 61 6c 65 64 |our=cmr1|0 scaled|
|00000170| 20 5c 6d 61 67 73 74 65 | 70 34 0a 5c 66 6f 6e 74 | \magste|p4.\font|
|00000180| 5c 6d 61 67 66 6f 75 72 | 62 66 3d 63 6d 62 78 31 |\magfour|bf=cmbx1|
|00000190| 30 20 73 63 61 6c 65 64 | 20 5c 6d 61 67 73 74 65 |0 scaled| \magste|
|000001a0| 70 34 20 0a 25 0a 5c 66 | 6f 6e 74 5c 62 69 67 6f |p4 .%.\f|ont\bigo|
|000001b0| 6e 65 3d 63 6d 72 31 30 | 20 73 63 61 6c 65 64 20 |ne=cmr10| scaled |
|000001c0| 5c 6d 61 67 73 74 65 70 | 31 0a 5c 66 6f 6e 74 5c |\magstep|1.\font\|
|000001d0| 62 69 67 74 77 6f 3d 63 | 6d 72 31 30 20 73 63 61 |bigtwo=c|mr10 sca|
|000001e0| 6c 65 64 20 5c 6d 61 67 | 73 74 65 70 32 0a 5c 66 |led \mag|step2.\f|
|000001f0| 6f 6e 74 5c 62 69 67 74 | 68 72 65 65 3d 63 6d 72 |ont\bigt|hree=cmr|
|00000200| 31 30 20 73 63 61 6c 65 | 64 20 5c 6d 61 67 73 74 |10 scale|d \magst|
|00000210| 65 70 33 0a 5c 66 6f 6e | 74 5c 62 69 67 66 6f 75 |ep3.\fon|t\bigfou|
|00000220| 72 3d 63 6d 72 31 30 20 | 73 63 61 6c 65 64 20 5c |r=cmr10 |scaled \|
|00000230| 6d 61 67 73 74 65 70 34 | 0a 0a 5c 68 73 69 7a 65 |magstep4|..\hsize|
|00000240| 3d 31 36 74 72 75 65 63 | 6d 0a 5c 76 73 69 7a 65 |=16truec|m.\vsize|
|00000250| 3d 32 34 2e 35 74 72 75 | 65 63 6d 0a 0a 0a 5c 68 |=24.5tru|ecm...\h|
|00000260| 6f 66 66 73 65 74 3d 20 | 30 74 72 75 65 63 6d 20 |offset= |0truecm |
|00000270| 20 20 0a 5c 76 6f 66 66 | 73 65 74 3d 20 30 2e 33 | .\voff|set= 0.3|
|00000280| 74 72 75 65 63 6d 20 0a | 25 5c 68 6f 66 66 73 65 |truecm .|%\hoffse|
|00000290| 74 3d 20 31 2e 39 74 72 | 75 65 63 6d 20 20 0a 25 |t= 1.9tr|uecm .%|
|000002a0| 5c 76 6f 66 66 73 65 74 | 3d 20 32 74 72 75 65 63 |\voffset|= 2truec|
|000002b0| 6d 0a 0a 5c 70 61 72 69 | 6e 64 65 6e 74 20 30 70 |m..\pari|ndent 0p|
|000002c0| 74 0a 5c 70 61 72 73 6b | 69 70 20 38 70 74 20 70 |t.\parsk|ip 8pt p|
|000002d0| 6c 75 73 20 31 70 74 20 | 6d 69 6e 75 73 20 31 70 |lus 1pt |minus 1p|
|000002e0| 74 20 0a 25 0a 0a 5c 73 | 6d 61 6c 6c 73 6b 69 70 |t .%..\s|mallskip|
|000002f0| 0a 5c 23 69 6e 63 6c 75 | 64 65 20 24 3c 24 4c 45 |.\#inclu|de $<$LE|
|00000300| 44 41 2f 64 69 63 74 69 | 6f 6e 61 72 79 2e 68 24 |DA/dicti|onary.h$|
|00000310| 3e 24 0a 5c 73 6d 61 6c | 6c 73 6b 69 70 0a 7b 5c |>$.\smal|lskip.{\|
|00000320| 62 66 20 64 65 63 6c 61 | 72 65 32 7d 28 64 69 63 |bf decla|re2}(dic|
|00000330| 74 69 6f 6e 61 72 79 2c | 20 73 74 72 69 6e 67 2c |tionary,| string,|
|00000340| 20 69 6e 74 29 0a 5c 73 | 6d 61 6c 6c 73 6b 69 70 | int).\s|mallskip|
|00000350| 0a 5c 63 6c 65 61 72 74 | 61 62 73 0a 5c 2b 6d 61 |.\cleart|abs.\+ma|
|00000360| 69 6e 28 29 5c 63 72 0a | 5c 2b 24 5c 7b 24 5c 20 |in()\cr.|\+$\{$\ |
|00000370| 5c 20 26 5c 63 72 0a 5c | 2b 20 20 26 64 69 63 74 |\ &\cr.\|+ &dict|
|00000380| 69 6f 6e 61 72 79 28 73 | 74 72 69 6e 67 2c 20 69 |ionary(s|tring, i|
|00000390| 6e 74 29 20 24 44 24 3b | 5c 63 72 0a 5c 73 6d 61 |nt) $D$;|\cr.\sma|
|000003a0| 6c 6c 73 6b 69 70 0a 5c | 2b 20 20 26 73 74 72 69 |llskip.\|+ &stri|
|000003b0| 6e 67 20 24 73 24 3b 5c | 63 72 0a 5c 2b 20 20 26 |ng $s$;\|cr.\+ &|
|000003c0| 64 69 63 5c 5f 69 74 65 | 6d 20 24 69 74 24 3b 5c |dic\_ite|m $it$;\|
|000003d0| 63 72 0a 5c 73 6d 61 6c | 6c 73 6b 69 70 0a 5c 2b |cr.\smal|lskip.\+|
|000003e0| 20 20 26 7b 5c 62 66 20 | 77 68 69 6c 65 7d 20 26 | &{\bf |while} &|
|000003f0| 28 20 28 63 69 6e 20 24 | 3e 3e 20 73 24 29 20 5c |( (cin $|>> s$) \|
|00000400| 26 5c 26 20 28 24 73 24 | 20 21 3d 20 60 60 73 74 |&\& ($s$| != ``st|
|00000410| 6f 70 27 27 29 20 29 5c | 63 72 0a 5c 2b 20 20 26 |op'') )\|cr.\+ &|
|00000420| 5c 20 5c 20 20 26 24 5c | 7b 24 20 26 24 69 74 20 |\ \ &$\|{$ &$it |
|00000430| 3d 20 44 24 2e 6c 6f 6f | 6b 75 70 28 24 73 24 29 |= D$.loo|kup($s$)|
|00000440| 3b 5c 63 72 0a 5c 2b 20 | 20 26 20 20 20 20 20 26 |;\cr.\+ | & &|
|00000450| 20 20 20 20 26 69 66 20 | 28 24 69 74 3d 3d 6e 69 | &if |($it==ni|
|00000460| 6c 24 29 20 24 44 24 2e | 69 6e 73 65 72 74 28 24 |l$) $D$.|insert($|
|00000470| 73 2c 31 24 29 3b 5c 63 | 72 0a 5c 2b 20 20 26 20 |s,1$);\c|r.\+ & |
|00000480| 20 20 20 20 26 20 20 20 | 20 26 65 6c 73 65 20 24 | & | &else $|
|00000490| 44 24 2e 63 68 61 6e 67 | 65 5c 5f 69 6e 66 28 24 |D$.chang|e\_inf($|
|000004a0| 69 74 24 2c 24 44 24 2e | 69 6e 66 28 24 69 74 24 |it$,$D$.|inf($it$|
|000004b0| 29 2b 31 29 3b 5c 63 72 | 0a 5c 2b 20 20 26 20 20 |)+1);\cr|.\+ & |
|000004c0| 20 20 20 26 5c 20 24 5c | 7d 24 5c 63 72 0a 5c 73 | &\ $\|}$\cr.\s|
|000004d0| 6d 61 6c 6c 73 6b 69 70 | 0a 5c 2b 20 20 26 7b 5c |mallskip|.\+ &{\|
|000004e0| 62 66 20 66 6f 72 61 6c | 6c 5c 5f 69 74 65 6d 73 |bf foral|l\_items|
|000004f0| 7d 28 24 69 74 2c 44 24 | 29 20 0a 63 6f 75 74 20 |}($it,D$|) .cout |
|00000500| 24 3c 3c 20 44 24 2e 6b | 65 79 28 24 69 74 24 29 |$<< D$.k|ey($it$)|
|00000510| 20 24 3c 3c 24 20 60 60 | 20 3a 20 22 20 24 3c 3c | $<<$ ``| : " $<<|
|00000520| 24 20 20 24 44 24 2e 69 | 6e 66 28 24 69 74 24 29 |$ $D$.i|nf($it$)|
|00000530| 20 24 3c 3c 24 20 60 60 | 24 5c 62 61 63 6b 73 6c | $<<$ ``|$\backsl|
|00000540| 61 73 68 24 6e 22 3b 5c | 63 72 0a 5c 73 6d 61 6c |ash$n";\|cr.\smal|
|00000550| 6c 73 6b 69 70 0a 5c 2b | 5c 20 24 5c 7d 24 5c 63 |lskip.\+|\ $\}$\c|
|00000560| 72 0a 0a 5c 62 79 65 0a | |r..\bye.| |
+--------+-------------------------+-------------------------+--------+--------+